﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SWDataDB.BLL;
using SWDataDB.DAL;
using SWDataDB.Models;
using System.Data;
using System.Drawing;

public partial class BIGIMG : System.Web.UI.Page
{
    public string bbid;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            bbid = Request["bbid"];
           
            bind();
        }

    }
    private void bind()
    {

        //public DataSet GetPicNameWithSet(string zl_file_id,string zk_code,int hc)
        BBImageInfo ZKIMG = new BBImageInfo();
        DataSet ZKImgDS = ZKIMG.GetInfoByID(Convert.ToInt32(bbid));
        DataTable zkimgdt = ZKImgDS.Tables[0];
        DataView zkimgdv = zkimgdt.DefaultView;
        repeater_ZKImg.DataSource = zkimgdv;
        repeater_ZKImg.DataBind();
    }
   
}